import { GetterTree } from "vuex"

const getters:GetterTree<any,any> = {
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  user: state => state.user.user,
  roles: state => state.user.roles,
  permissions: state => state.user.permissions,
  appInfo:state => state.user.appInfo,
  lastTime:state => state.user.lastTime
}
export default getters
